<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>

<s:layout-render name="/layout_admin.jsp">
    <s:layout-component name="content">
        <s:useActionBean beanclass="cz.muni.fi.pa165.travelagency.web.TourActionBean" var="actionBean"/>
        <s:form beanclass="cz.muni.fi.pa165.travelagency.web.TourActionBean">
            <s:hidden name="tour.id"/>
            <fieldset><legend><f:message key="tour.edit.legend" /></legend>
                <%@include file="tour_form.jsp"%>
                <s:submit name="save"><f:message key="tour.action.edit.save" /></s:submit>
                <s:submit name="cancel"><f:message key="tour.action.edit.cancel" /></s:submit>
            </fieldset>
        </s:form>
    </s:layout-component>
</s:layout-render>
